You are not logged in.

#1 2018-08-11 12:56:22

Bednar
Member
Registered: 2015-09-19
Posts: 72

[SOLVED]DKMS make failures *** Compiler lacks asm-goto support.. Stop

Hi all,

When trying to compile kernel modules with DKMS I am getting the below errors.

arch/x86/Makefile:184: *** Compiler lacks asm-goto support..  Stop.

DKMS make.log for openrazer-driver-2.3.1 for kernel 4.17.14-arch1-1-ARCH (x86_64)
Sat 11 Aug 14:47:17 CEST 2018

::[32m Compiling OpenRazer kernel modules[0m
========================================
make -C /lib/modules/4.17.14-arch1-1-ARCH/build SUBDIRS=/var/lib/dkms/openrazer-driver/2.3.1/build/driver modules
make[1]: Entering directory '/usr/lib/modules/4.17.14-arch1-1-ARCH/build'
arch/x86/Makefile:184: *** Compiler lacks asm-goto support..  Stop.
make[1]: Leaving directory '/usr/lib/modules/4.17.14-arch1-1-ARCH/build'
make: *** [Makefile:27: driver] Error 2

gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp --enable-cet=auto
Thread model: posix
gcc version 8.2.0 (GCC)

Does anyone know what's going on?

Thanks

Last edited by Bednar (2018-08-11 17:18:11)

Offline

#2 2018-08-11 13:16:07

loqs
Member
Registered: 2014-03-06
Posts: 17,440

Re: [SOLVED]DKMS make failures *** Compiler lacks asm-goto support.. Stop

Please use code tags instead of quote tags for commands and their outputs.
gcc 8.2 supports asm-goto but the the kernel build detects the compiler in use does not.  What other compilers are present on the system?

Offline

#3 2018-08-11 17:17:44

Bednar
Member
Registered: 2015-09-19
Posts: 72

Re: [SOLVED]DKMS make failures *** Compiler lacks asm-goto support.. Stop

thanks. I don't think there is anything other than vala. I managed to fix this by re-installing the kernel. Something must have broken when the system was updating to 4.17.4

Offline

Board footer

Powered by FluxBB